package com.contain2.generator.list;

import java.util.LinkedHashSet;
import java.util.Set;

/**
 * 初始化LinkedHashSet
 * 
 * @author Administrator
 * 
 */
public class Test {

	public static void main(String[] args) {
		Set<String> set = new LinkedHashSet<String>(new CollectionData<String>(
				new Government(), 15));
		System.out.println(set);

		Set<String> set2 = new LinkedHashSet<String>();
		set2.addAll(CollectionData.list(new Government(), 15));
		System.out.println(set2);
	}

}
